/*
 * @Description:
 * @Autor: lcz
 * @Date: 2022-06-23 13:31:26
 * @LastEditors: lcz
 * @LastEditTime: 2022-06-24 15:20:56
 */
import { FC } from 'react'
import PopConfigComponent from '../../components/PopConfigComponent'
const PopConfig: FC = () => {
  const confirm = (e: React.MouseEvent<HTMLElement>) => {
    console.log(e)
  }

  const cancel = (e: React.MouseEvent<HTMLElement>) => {
    console.log(e)
  }
  return (
    <PopConfigComponent
      title={'确定要删除吗?'}
      okText={'Yes'}
      cancelText={'No'}
      confirm={confirm}
      cancel={cancel}
      showCancel={true}
      placement={'top'}
    >
      气泡确认框
    </PopConfigComponent>
  )
}
export default PopConfig
